package com.cn.jinl.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OrderBackStorageExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OrderBackStorageExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBackStorageCodeIsNull() {
            addCriterion("back_storage_code is null");
            return (Criteria) this;
        }

        public Criteria andBackStorageCodeIsNotNull() {
            addCriterion("back_storage_code is not null");
            return (Criteria) this;
        }

        public Criteria andBackStorageCodeEqualTo(String value) {
            addCriterion("back_storage_code =", value, "backStorageCode");
            return (Criteria) this;
        }

        public Criteria andBackStorageCodeNotEqualTo(String value) {
            addCriterion("back_storage_code <>", value, "backStorageCode");
            return (Criteria) this;
        }

        public Criteria andBackStorageCodeGreaterThan(String value) {
            addCriterion("back_storage_code >", value, "backStorageCode");
            return (Criteria) this;
        }

        public Criteria andBackStorageCodeGreaterThanOrEqualTo(String value) {
            addCriterion("back_storage_code >=", value, "backStorageCode");
            return (Criteria) this;
        }

        public Criteria andBackStorageCodeLessThan(String value) {
            addCriterion("back_storage_code <", value, "backStorageCode");
            return (Criteria) this;
        }

        public Criteria andBackStorageCodeLessThanOrEqualTo(String value) {
            addCriterion("back_storage_code <=", value, "backStorageCode");
            return (Criteria) this;
        }

        public Criteria andBackStorageCodeLike(String value) {
            addCriterion("back_storage_code like", value, "backStorageCode");
            return (Criteria) this;
        }

        public Criteria andBackStorageCodeNotLike(String value) {
            addCriterion("back_storage_code not like", value, "backStorageCode");
            return (Criteria) this;
        }

        public Criteria andBackStorageCodeIn(List<String> values) {
            addCriterion("back_storage_code in", values, "backStorageCode");
            return (Criteria) this;
        }

        public Criteria andBackStorageCodeNotIn(List<String> values) {
            addCriterion("back_storage_code not in", values, "backStorageCode");
            return (Criteria) this;
        }

        public Criteria andBackStorageCodeBetween(String value1, String value2) {
            addCriterion("back_storage_code between", value1, value2, "backStorageCode");
            return (Criteria) this;
        }

        public Criteria andBackStorageCodeNotBetween(String value1, String value2) {
            addCriterion("back_storage_code not between", value1, value2, "backStorageCode");
            return (Criteria) this;
        }

        public Criteria andBackStorageTypeIsNull() {
            addCriterion("back_storage_type is null");
            return (Criteria) this;
        }

        public Criteria andBackStorageTypeIsNotNull() {
            addCriterion("back_storage_type is not null");
            return (Criteria) this;
        }

        public Criteria andBackStorageTypeEqualTo(String value) {
            addCriterion("back_storage_type =", value, "backStorageType");
            return (Criteria) this;
        }

        public Criteria andBackStorageTypeNotEqualTo(String value) {
            addCriterion("back_storage_type <>", value, "backStorageType");
            return (Criteria) this;
        }

        public Criteria andBackStorageTypeGreaterThan(String value) {
            addCriterion("back_storage_type >", value, "backStorageType");
            return (Criteria) this;
        }

        public Criteria andBackStorageTypeGreaterThanOrEqualTo(String value) {
            addCriterion("back_storage_type >=", value, "backStorageType");
            return (Criteria) this;
        }

        public Criteria andBackStorageTypeLessThan(String value) {
            addCriterion("back_storage_type <", value, "backStorageType");
            return (Criteria) this;
        }

        public Criteria andBackStorageTypeLessThanOrEqualTo(String value) {
            addCriterion("back_storage_type <=", value, "backStorageType");
            return (Criteria) this;
        }

        public Criteria andBackStorageTypeLike(String value) {
            addCriterion("back_storage_type like", value, "backStorageType");
            return (Criteria) this;
        }

        public Criteria andBackStorageTypeNotLike(String value) {
            addCriterion("back_storage_type not like", value, "backStorageType");
            return (Criteria) this;
        }

        public Criteria andBackStorageTypeIn(List<String> values) {
            addCriterion("back_storage_type in", values, "backStorageType");
            return (Criteria) this;
        }

        public Criteria andBackStorageTypeNotIn(List<String> values) {
            addCriterion("back_storage_type not in", values, "backStorageType");
            return (Criteria) this;
        }

        public Criteria andBackStorageTypeBetween(String value1, String value2) {
            addCriterion("back_storage_type between", value1, value2, "backStorageType");
            return (Criteria) this;
        }

        public Criteria andBackStorageTypeNotBetween(String value1, String value2) {
            addCriterion("back_storage_type not between", value1, value2, "backStorageType");
            return (Criteria) this;
        }

        public Criteria andBackUnitIsNull() {
            addCriterion("back_unit is null");
            return (Criteria) this;
        }

        public Criteria andBackUnitIsNotNull() {
            addCriterion("back_unit is not null");
            return (Criteria) this;
        }

        public Criteria andBackUnitEqualTo(String value) {
            addCriterion("back_unit =", value, "backUnit");
            return (Criteria) this;
        }

        public Criteria andBackUnitNotEqualTo(String value) {
            addCriterion("back_unit <>", value, "backUnit");
            return (Criteria) this;
        }

        public Criteria andBackUnitGreaterThan(String value) {
            addCriterion("back_unit >", value, "backUnit");
            return (Criteria) this;
        }

        public Criteria andBackUnitGreaterThanOrEqualTo(String value) {
            addCriterion("back_unit >=", value, "backUnit");
            return (Criteria) this;
        }

        public Criteria andBackUnitLessThan(String value) {
            addCriterion("back_unit <", value, "backUnit");
            return (Criteria) this;
        }

        public Criteria andBackUnitLessThanOrEqualTo(String value) {
            addCriterion("back_unit <=", value, "backUnit");
            return (Criteria) this;
        }

        public Criteria andBackUnitLike(String value) {
            addCriterion("back_unit like", value, "backUnit");
            return (Criteria) this;
        }

        public Criteria andBackUnitNotLike(String value) {
            addCriterion("back_unit not like", value, "backUnit");
            return (Criteria) this;
        }

        public Criteria andBackUnitIn(List<String> values) {
            addCriterion("back_unit in", values, "backUnit");
            return (Criteria) this;
        }

        public Criteria andBackUnitNotIn(List<String> values) {
            addCriterion("back_unit not in", values, "backUnit");
            return (Criteria) this;
        }

        public Criteria andBackUnitBetween(String value1, String value2) {
            addCriterion("back_unit between", value1, value2, "backUnit");
            return (Criteria) this;
        }

        public Criteria andBackUnitNotBetween(String value1, String value2) {
            addCriterion("back_unit not between", value1, value2, "backUnit");
            return (Criteria) this;
        }

        public Criteria andBackCountIsNull() {
            addCriterion("back_count is null");
            return (Criteria) this;
        }

        public Criteria andBackCountIsNotNull() {
            addCriterion("back_count is not null");
            return (Criteria) this;
        }

        public Criteria andBackCountEqualTo(String value) {
            addCriterion("back_count =", value, "backCount");
            return (Criteria) this;
        }

        public Criteria andBackCountNotEqualTo(String value) {
            addCriterion("back_count <>", value, "backCount");
            return (Criteria) this;
        }

        public Criteria andBackCountGreaterThan(String value) {
            addCriterion("back_count >", value, "backCount");
            return (Criteria) this;
        }

        public Criteria andBackCountGreaterThanOrEqualTo(String value) {
            addCriterion("back_count >=", value, "backCount");
            return (Criteria) this;
        }

        public Criteria andBackCountLessThan(String value) {
            addCriterion("back_count <", value, "backCount");
            return (Criteria) this;
        }

        public Criteria andBackCountLessThanOrEqualTo(String value) {
            addCriterion("back_count <=", value, "backCount");
            return (Criteria) this;
        }

        public Criteria andBackCountLike(String value) {
            addCriterion("back_count like", value, "backCount");
            return (Criteria) this;
        }

        public Criteria andBackCountNotLike(String value) {
            addCriterion("back_count not like", value, "backCount");
            return (Criteria) this;
        }

        public Criteria andBackCountIn(List<String> values) {
            addCriterion("back_count in", values, "backCount");
            return (Criteria) this;
        }

        public Criteria andBackCountNotIn(List<String> values) {
            addCriterion("back_count not in", values, "backCount");
            return (Criteria) this;
        }

        public Criteria andBackCountBetween(String value1, String value2) {
            addCriterion("back_count between", value1, value2, "backCount");
            return (Criteria) this;
        }

        public Criteria andBackCountNotBetween(String value1, String value2) {
            addCriterion("back_count not between", value1, value2, "backCount");
            return (Criteria) this;
        }

        public Criteria andBackStorageStatusIsNull() {
            addCriterion("back_storage_status is null");
            return (Criteria) this;
        }

        public Criteria andBackStorageStatusIsNotNull() {
            addCriterion("back_storage_status is not null");
            return (Criteria) this;
        }

        public Criteria andBackStorageStatusEqualTo(String value) {
            addCriterion("back_storage_status =", value, "backStorageStatus");
            return (Criteria) this;
        }

        public Criteria andBackStorageStatusNotEqualTo(String value) {
            addCriterion("back_storage_status <>", value, "backStorageStatus");
            return (Criteria) this;
        }

        public Criteria andBackStorageStatusGreaterThan(String value) {
            addCriterion("back_storage_status >", value, "backStorageStatus");
            return (Criteria) this;
        }

        public Criteria andBackStorageStatusGreaterThanOrEqualTo(String value) {
            addCriterion("back_storage_status >=", value, "backStorageStatus");
            return (Criteria) this;
        }

        public Criteria andBackStorageStatusLessThan(String value) {
            addCriterion("back_storage_status <", value, "backStorageStatus");
            return (Criteria) this;
        }

        public Criteria andBackStorageStatusLessThanOrEqualTo(String value) {
            addCriterion("back_storage_status <=", value, "backStorageStatus");
            return (Criteria) this;
        }

        public Criteria andBackStorageStatusLike(String value) {
            addCriterion("back_storage_status like", value, "backStorageStatus");
            return (Criteria) this;
        }

        public Criteria andBackStorageStatusNotLike(String value) {
            addCriterion("back_storage_status not like", value, "backStorageStatus");
            return (Criteria) this;
        }

        public Criteria andBackStorageStatusIn(List<String> values) {
            addCriterion("back_storage_status in", values, "backStorageStatus");
            return (Criteria) this;
        }

        public Criteria andBackStorageStatusNotIn(List<String> values) {
            addCriterion("back_storage_status not in", values, "backStorageStatus");
            return (Criteria) this;
        }

        public Criteria andBackStorageStatusBetween(String value1, String value2) {
            addCriterion("back_storage_status between", value1, value2, "backStorageStatus");
            return (Criteria) this;
        }

        public Criteria andBackStorageStatusNotBetween(String value1, String value2) {
            addCriterion("back_storage_status not between", value1, value2, "backStorageStatus");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andOrderBackIdIsNull() {
            addCriterion("order_back_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderBackIdIsNotNull() {
            addCriterion("order_back_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderBackIdEqualTo(String value) {
            addCriterion("order_back_id =", value, "orderBackId");
            return (Criteria) this;
        }

        public Criteria andOrderBackIdNotEqualTo(String value) {
            addCriterion("order_back_id <>", value, "orderBackId");
            return (Criteria) this;
        }

        public Criteria andOrderBackIdGreaterThan(String value) {
            addCriterion("order_back_id >", value, "orderBackId");
            return (Criteria) this;
        }

        public Criteria andOrderBackIdGreaterThanOrEqualTo(String value) {
            addCriterion("order_back_id >=", value, "orderBackId");
            return (Criteria) this;
        }

        public Criteria andOrderBackIdLessThan(String value) {
            addCriterion("order_back_id <", value, "orderBackId");
            return (Criteria) this;
        }

        public Criteria andOrderBackIdLessThanOrEqualTo(String value) {
            addCriterion("order_back_id <=", value, "orderBackId");
            return (Criteria) this;
        }

        public Criteria andOrderBackIdLike(String value) {
            addCriterion("order_back_id like", value, "orderBackId");
            return (Criteria) this;
        }

        public Criteria andOrderBackIdNotLike(String value) {
            addCriterion("order_back_id not like", value, "orderBackId");
            return (Criteria) this;
        }

        public Criteria andOrderBackIdIn(List<String> values) {
            addCriterion("order_back_id in", values, "orderBackId");
            return (Criteria) this;
        }

        public Criteria andOrderBackIdNotIn(List<String> values) {
            addCriterion("order_back_id not in", values, "orderBackId");
            return (Criteria) this;
        }

        public Criteria andOrderBackIdBetween(String value1, String value2) {
            addCriterion("order_back_id between", value1, value2, "orderBackId");
            return (Criteria) this;
        }

        public Criteria andOrderBackIdNotBetween(String value1, String value2) {
            addCriterion("order_back_id not between", value1, value2, "orderBackId");
            return (Criteria) this;
        }

        public Criteria andBackUserIsNull() {
            addCriterion("back_user is null");
            return (Criteria) this;
        }

        public Criteria andBackUserIsNotNull() {
            addCriterion("back_user is not null");
            return (Criteria) this;
        }

        public Criteria andBackUserEqualTo(String value) {
            addCriterion("back_user =", value, "backUser");
            return (Criteria) this;
        }

        public Criteria andBackUserNotEqualTo(String value) {
            addCriterion("back_user <>", value, "backUser");
            return (Criteria) this;
        }

        public Criteria andBackUserGreaterThan(String value) {
            addCriterion("back_user >", value, "backUser");
            return (Criteria) this;
        }

        public Criteria andBackUserGreaterThanOrEqualTo(String value) {
            addCriterion("back_user >=", value, "backUser");
            return (Criteria) this;
        }

        public Criteria andBackUserLessThan(String value) {
            addCriterion("back_user <", value, "backUser");
            return (Criteria) this;
        }

        public Criteria andBackUserLessThanOrEqualTo(String value) {
            addCriterion("back_user <=", value, "backUser");
            return (Criteria) this;
        }

        public Criteria andBackUserLike(String value) {
            addCriterion("back_user like", value, "backUser");
            return (Criteria) this;
        }

        public Criteria andBackUserNotLike(String value) {
            addCriterion("back_user not like", value, "backUser");
            return (Criteria) this;
        }

        public Criteria andBackUserIn(List<String> values) {
            addCriterion("back_user in", values, "backUser");
            return (Criteria) this;
        }

        public Criteria andBackUserNotIn(List<String> values) {
            addCriterion("back_user not in", values, "backUser");
            return (Criteria) this;
        }

        public Criteria andBackUserBetween(String value1, String value2) {
            addCriterion("back_user between", value1, value2, "backUser");
            return (Criteria) this;
        }

        public Criteria andBackUserNotBetween(String value1, String value2) {
            addCriterion("back_user not between", value1, value2, "backUser");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}